<template>
<div class="HotGoodsList">
    <h4>人气推荐</h4>
    <ul>
        <li  v-for="item in HotGoodsListArr" :key="item.id">
            <img :src="item.list_pic_url" alt="">
            <p class="p1">{{item.name}}</p>
            <p class="p2">{{item.goods_brief}}</p>
            <span>{{item.retail_price|formatMoney}}</span>
        </li>
    </ul>
</div>
</template>

<script>
export default {
name: 'HotGoodsList',
data() {
return {

}
},
props:['HotGoodsListArr'],
components: {

},
methods: {

},
created() {

},
}
</script>

<style lang='less' scoped>
.HotGoodsList{
    font-size: 16px;
    // text-align: center;
    h4{
        text-align: center;
        height: 50px;
        line-height: 50px;
        color: #000;
        font-size: 22px;
    }
    ul{
        li{
            width: 100%;
            height: 105px;
            background-color: #fafafa;
            margin-bottom: 8px;
            position: relative;
            img{
                display: block;
                width: 88px;
                height: 88px;
                position: absolute;
                left: 5px;
                top: 5px;
            }
            .p1{
                height: 35px;
                line-height: 35px;
                font-size: 16px;
                font-weight: bolder;
                margin-left: 100px;
            }
            .p2{
                height: 35px;
                line-height: 35px;
                font-size: 12px;
                margin-left: 100px;
            }
            span{
                display: block;
                height: 35px;
                line-height: 35px;
                font-size: 12px;
                color: rgb(155, 9, 9);
                margin-left: 100px;
            }


        }
    }
}
</style>